package com.buss.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.minidao.hibernate.IdEntity;

@Entity
@Table(name="t_user")
public class User extends IdEntity {

	private String name;
	
	private String password;
	


	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "password")
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	@Override
	public String toString() {
		return "User [name=" + name + ", password=" + password + "]";
	}
	
}
